package com.webapp.dao;

import com.webapp.helper.BaseDao;
import com.webapp.helper.QueryParam;
import com.webapp.model.PayInfo;
import org.springframework.stereotype.Repository;

@Repository
public class PayInfoDao extends BaseDao<PayInfo> {
    public PayInfo findByStreetNo(String streetNo) {
        QueryParam param = QueryParam.getInstance();
        param.addParam("streetNo",streetNo);
        return findByCriteriaForUnique(param);
    }
}
